import React, { useEffect } from "react";
import "./index.less";

const Index = (props) => {
  useEffect(() => {
    console.log("hello world 开始加载数据");
  }, []);
  console.log("comming");

  const handleClick = () => {
    console.log("clicked!!!");
  };

  return (
    <div className="commentContainer">
      <h2 onClick={handleClick}>helo world {"jjjj"} </h2>
    </div>
  );
};

export default Index;
